package com.water.wfo.user.mapper;


import com.water.wfo.sys.pojo.entity.UserEntity;
import com.water.wfo.sys.pojo.request.UserQueryRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.nio.file.attribute.UserPrincipal;
import java.util.List;

/**
 * packageName com.water.wfo.user.mapper
 *
 * @author junhuili
 * @version JDK 8
 * @date 2024/5/17
 * @description TODO
 */
@Mapper
public interface UserInfoMapper {
    int insert(UserEntity entity);

    int insertList(List<UserEntity> list);

    int deleteById(@Param("id") Long id);

    int deleteBatchByIds(List<Long> list);

    void update(UserEntity user);

    List<UserEntity> queryAll(UserEntity user);

    UserEntity selectUserById(@Param("loginId") String loginId);

    List<UserEntity> queryUserListInfo(UserQueryRequest request);
}
